package com.bestcem.xm.award.controller.dto;

import com.bestcem.xm.award.enums.AwardStatusEnum;
import com.bestcem.xm.award.enums.AwardTypeEnum;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;

import java.io.Serializable;

/**
 * 奖励列表信息DTO
 * @author sh.pei <sh.pei@idiaoyan.com>
 * @version v1.0
 * @date 2021/8/19 10:58
 */
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
public class AwardListDTO implements Serializable {

    /**
     * 奖励类型 {@link AwardTypeEnum}
     */
    private Integer type;

    /**
     * 奖励状态 {@link AwardStatusEnum}
     */
    private Integer status;

    /**
     * 奖励名称
     */
    private String name;

    /**
     * 奖励id
     */
    private String id;

    /**
     * 创建时间
     */
    @JsonProperty(value = "create_time")
    private String createTime;

    /**
     * 开始时间
     */
    @JsonProperty(value = "start_time")
    private String startTime;

    /**
     * 结束时间
     */
    @JsonProperty(value = "end_time")
    private String endTime;
}
